//
//  AddressManageTableViewCell.m
//  B2C
//
//  Created by 李小龙 on 2017/8/4.
//  Copyright © 2017年 lixiaolong. All rights reserved.
//

#import "AddressManageTableViewCell.h"

@implementation AddressManageTableViewCell
#pragma mark -
- (IBAction)defaultButtonAction:(id)sender {
    if (self.block) {
        self.block(self.defaultButton.tag, AddressClickTypeDefault);
    }
}
- (IBAction)editButtonAction:(id)sender {
    if (self.block) {
        self.block(self.editButton.tag, AddressClickTypeEdit);
    }
}
- (IBAction)deleteButtonAction:(id)sender {
    if (self.block) {
        self.block(self.deleteButton.tag, AddressClickTypeDelete);
    }
}

#pragma mark -
- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
